package com.eurasia.assignment.service;

import com.eurasia.assignment.domain.Assignment;

import java.util.List;
import java.util.Optional;

public interface AssignmentService {
    Optional<Assignment> findById(Long id);
    Assignment addAssignment(Assignment assignment);
    boolean deleteById(Long id);
    Assignment updateAssignment(Long id, Assignment assignment);
    List<Assignment> findAll();
} 